import instance from '../utils/request'
export function getSearch (q) {
  return instance({
    url: '/v1_0/suggestion',
    method: 'GET',
    params: {
      q
    }
  })
}

export function searchRestult (params) {
  return instance({
    url: '/v1_0/search',
    method: 'GET',
    params
  })
}
